package com.tusion.minio.config;

import io.minio.MinioClient;

public class MinioConfig {

    public static final String url = "http://127.0.0.1:9003";

    public static final String file_url = "http://192.168.1.96:9003";

    public static final String username = "minioadmin";

    public static final String password = "minioadmin";

    public static final String bucketName = "test";

    public String getBucketName() {
        return bucketName;
    }

    public MinioClient getMinioClient() {
        return MinioClient.builder().endpoint(url)
                .credentials(username, password).build();
    }

}
